﻿#include <qglgraphicsviewer.h>

class Viewer : public QGLGraphicsViewer
{
protected :
  virtual void draw()override;
  virtual void drawWithNames()override;
  virtual void postSelection(const QPoint& point)override;
  virtual void initOnce()override;
  virtual void initOften()override;
  virtual QString helpString() const override;

private :
  Vec orig, dir, selectedPoint;
};
